﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class LaunchClick : MonoBehaviour {

    public GameObject Launch_Hover;
    public GameObject Config_Base1;

    // Use this for initialization
    void Start () {
        
    }
	
	// Update is called once per frame
	void Update () {
		
	}

    void OnMouseEnter()
    {
        Launch_Hover.transform.position = new Vector3(3.155F, -2.235F, 0);
    }

    void OnMouseExit()
    {
        Launch_Hover.transform.position = new Vector3(3.155F, -2.235F, 1);
    }

    void OnMouseUp()
    {
        Config_Base1.transform.position = new Vector3(2.79F, 0.83F, -2);

        if (name == "Launch_Hover")
            UnityEngine.SceneManagement.SceneManager.LoadScene("Login");
    }
}
